﻿package java_45;

public class Phone {
		String pinpai;
		char yanse;
		int jiage;
		int haoma;
		public void show(){
			System.out.println("品牌:" +pinpai + "颜色:" + yanse + "价格:" + jiage + "可以打电话  发信息  听音乐   ");
		}
}


package java_45;

public class InitialPhone {
public static void main(String[] args) {
	Phone i =new Phone();
	i.pinpai="乐视";
	i.yanse='红';
	i.jiage=1999;
	i.show();
}
}




